<template>
	<view>
		<view style="margin-left: 10px;">可提现金额{{money}} </view>
		<view class="header_div">
			<input class="phone_input-item" type="digit" v-model="deals"  placeholder="请输入提现金额" />
			<view class="code_text" @click="deal()">全部提现</view>
		</view>
		
		<button type="primary" style="margin-top: 100px;" @click="Sub()">提现</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				deals:"",
				money:"123.7"
				
			}
		},
		methods: {
			deal:function(){
				this.deals=this.money
			},
			Sub(){
				uni.navigateTo({
					url:"/pages/cashinfo/cashinfo"
				})
			}

		}
	}
</script>

<style>
	.header_div {
		width: 100%;
	}

	.phone_input-item {
		display: block;
		width: 53%;
		float: left;
		background: rgba(255, 255, 255, 1);
		border-radius: 4rpx;
		padding: 30rpx 40rpx;
		margin: 0 0 20rpx 0;
		line-height: 44rpx;
	}

	.code_text {
		display: block;
		float: left;
		width: 35%;
		height: 106rpx;
		font-size: 32rpx;
		font-family: PingFangSC-Regular, PingFang SC;
		font-weight: 400;
		color: rgba(102, 166, 255, 1);
		background: rgba(255, 255, 255, 1);
		line-height: 106rpx;
	}


</style>
